package com.example.xueshen.common.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.xueshen.common.entity.Students;

import java.util.List;

public interface   StudentsService {
    List<Students> selectAllByPlus();
    Boolean insert(Students students);
    int deleteById(Integer id);
  Students selectById(Integer id);
    Boolean updateById(Students students);
    int deleteByBanId(Integer id);
    Page<Students> selectAllByPlusAndPage(Page<Students> page);
//    List<Students> selectByLike(String name,);
    Page<Students> selectByLike(String name,Page<Students> page);


}
